<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>一次渲染</title>
    <script src="../../../../../js/vue.global.js"></script>
</head>
<body>
<div id="root">
    <h1>{{message}}</h1>
    <h1 v-once>{{message}}</h1>

</div>

</body>
<script type="text/javascript">
    const app =  Vue.createApp({
        data(){
            return{
                message:"helloworld"
            }
        }
    })
    app.mount("#root")
</script>

</html>